package com.gagakuai.session;

import java.sql.Connection;

/*
 * @program: settement
 * @description: sqlSession工厂
 * @author: houhong
 * @create: 2022-11-08 22:18
 */
public interface SqlSessionFactory {

    /*
     * 开启session
     */
    SqlSession openSession();

    SqlSession openSession(boolean autoCommit);

    SqlSession openSession(Connection conn);


    Configuration getConfiguration();
}
